<template>
  <div class="settings">
    <el-tooltip content="系统设置">
      <el-button circle @click="onSetting">
        <el-icon><Setting /></el-icon>
      </el-button>
    </el-tooltip>
  </div>
</template>

<script setup lang="ts">
import mittBus from '@/utils/mittBus'
const onSetting = () => {
  mittBus.emit('openThemeDrawer')
}
</script>
